<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/7
 * Time: 14:58
 */

namespace App\Model;
use think\Model;

class RoomTicket extends Model
{
    public function getTicketCountByAccountID($account_id){
        $count = $this->where('account_id',$account_id)->column("ticket_count");
        return $count[0];
    }



}